package com.jxc.jxcmanage.code.mapper;

import java.util.List;

import com.jxc.jxcmanage.code.entity.MaterialUsage;
import com.jxc.jxcmanage.dto.MaterialUsageDto;

public interface MaterialUsageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MaterialUsage record);

    int insertSelective(MaterialUsage record);

    MaterialUsage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MaterialUsage record);

    int updateByPrimaryKey(MaterialUsage record);
    // 分页查询
    List<MaterialUsageDto> list(MaterialUsageDto dto);
}